package miniBanco.Gui;
import java.util.ArrayList;
import MySwing.JMyGrid;
import miniBanco.Dto.Log;


public class LogGrid extends JMyGrid {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private ArrayList<Log> data;
	private LogTableModel model;	
	public LogGrid()
	{
	}
	public LogGrid(ArrayList<Log> data)
	{
		super(new LogTableModel(data));
		this.data = data;
	}

	public void Refresh(ArrayList<Log> data)
	{
		this.data = data;
		model = new LogTableModel(data);
		Refresh(model);
	}
	public ArrayList<Log> getData()
	{
		return data;
	}
}


